import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('../views/home_bottom.vue'),
    },
    {
      path: '/profession',
      component: () => import("../views/profession.vue"),
    },
    {
      path: '/college/:str',
      component: () => import("@/views/college.vue")
    },
    {
      path: '/Employment',
      name: 'Apply',
      component: () => import("../views/Employment.vue")
    },
    {
      path:'/school',
      component:()=>import("@/views/school.vue")
    }
  ],
})

export default router
